package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 采购退单 更新请求对象
 *
 * @author default
 * @date 2022-12-08
 */
@Data
public class PurchaseReturnOrderUpdateRequest {

    @NotNull
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-待退货(s3)|4-完成(s4)")
    private Integer returnStatus;

    @Schema(description = "退款原因")
    private String reason;

    @Schema(description = "备注")
    private String remark;

    @NotEmpty
    @Schema(description = "详情")
    private List<PurchaseReturnDetailOrderAddRequest> item;


}
